const urlTobase64 = (url)=>{
	const imgBase64 = wx.getFileSystemManager().readFileSync(url,"base64")
	const base64Url = `data:image/png;base64,${imgBase64}`;
	return base64Url;
}

const errColor = '#ff837e'

export default {
	urlTobase64,
	errColor
}
